package com.tm.article.login.controller;

import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

@RestController
@RequestMapping("/api/v1/login")
public class AppLoginController {
    @PostMapping("login_auth")
    public Map<String,Object> loginAuth(@RequestBody Map<String,Object>map){
        map.put("code",0);
        map.put("token","11111");
        return map;
    }
}
